using Volo.Abp.Modularity;
using Volo.Abp.OpenIddict;

using WL.Think.Abp.Extensions;
using WL.Think.Abp.Modules;

namespace WL.Think.Abp.OpenIddict;

[DependsOn(
    typeof(AbpOpenIddictDomainModule),
    typeof(ThinkAbpOpenIddictApplicationContractsModule)
)]
public class ThinkAbpOpenIddictApplicationModule : ThinkModule<ThinkAbpOpenIddictApplicationModule>
{
    protected override void ConfigureAutoMapper(ServiceConfigurationContext context)
    {
        context.ConfigureAutoMapper<ThinkAbpOpenIddictApplicationModule>(opts => opts.AddProfile<OpenIddictAutoMapperProfile>());
    }
}
